package models

import (
	"common/uuid"
	"time"
)

type ObjectInline struct {
	StreamId  uuid.UUID `gorm:"column:stream_id;primaryKey;type:BINARY(16);NOT NULL;comment:流id" json:"stream_id"`
	CreatedAt time.Time `gorm:"column:created_at;type:time;NOT NULL;default:CURRENT_TIMESTAMP" json:"created_at"`
	Data      []byte    `gorm:"column:data;type:MediumBlob;NOT NULL" json:"data"`
}
